package com.ktgj.customer.domain;

import java.util.Date;
import java.util.List;

import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ktgj.common.core.annotation.Excel;
import com.ktgj.common.core.web.domain.BaseEntity;

/**
 * 【请填写功能名称】对象 dd_coupon_add
 * 
 * @author ruoyi
 * @date 2022-09-28
 */
public class DdCouponAdd extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** $column.columnComment */
    private Long couponAddId;

    /** $column.columnComment */
    @Excel(name = "${comment}", readConverterExp = "$column.readConverterExp()")
    private Long customerId;

    /** $column.columnComment */
    @Excel(name = "${comment}", readConverterExp = "$column.readConverterExp()")
    private String customerPhone;

    /** $column.columnComment */
    @Excel(name = "${comment}", readConverterExp = "$column.readConverterExp()")
    private String customerName;

    /** $column.columnComment */
    @Excel(name = "${comment}", readConverterExp = "$column.readConverterExp()")
    private String couponAmount;

    /** 生效时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "生效时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date validTime;

    /** 失效时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "失效时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date invalidTime;

    /** 是否导出  枚举  true false */
    @Excel(name = "是否导出  枚举  true false")
    private String isexport;

    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "生效时间开始", width = 30, dateFormat = "yyyy-MM-dd")
    private Date validTimeBegin;

    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "生效时间结束", width = 30, dateFormat = "yyyy-MM-dd")
    private Date validTimeEnd;

    public Date getValidTimeBegin() {
        return validTimeBegin;
    }

    public void setValidTimeBegin(Date validTimeBegin) {
        this.validTimeBegin = validTimeBegin;
    }

    public Date getValidTimeEnd() {
        return validTimeEnd;
    }

    public void setValidTimeEnd(Date validTimeEnd) {
        this.validTimeEnd = validTimeEnd;
    }

    public void setCouponAddId(Long couponAddId)
    {
        this.couponAddId = couponAddId;
    }

    public Long getCouponAddId() 
    {
        return couponAddId;
    }
    public void setCustomerId(Long customerId) 
    {
        this.customerId = customerId;
    }

    public Long getCustomerId() 
    {
        return customerId;
    }
    public void setCustomerPhone(String customerPhone) 
    {
        this.customerPhone = customerPhone;
    }

    public String getCustomerPhone() 
    {
        return customerPhone;
    }
    public void setCustomerName(String customerName) 
    {
        this.customerName = customerName;
    }

    public String getCustomerName() 
    {
        return customerName;
    }
    public void setCouponAmount(String couponAmount) 
    {
        this.couponAmount = couponAmount;
    }

    public String getCouponAmount() 
    {
        return couponAmount;
    }
    public void setValidTime(Date validTime) 
    {
        this.validTime = validTime;
    }

    public Date getValidTime() 
    {
        return validTime;
    }
    public void setInvalidTime(Date invalidTime) 
    {
        this.invalidTime = invalidTime;
    }

    public Date getInvalidTime() 
    {
        return invalidTime;
    }
    public void setIsexport(String isexport) 
    {
        this.isexport = isexport;
    }

    public String getIsexport() 
    {
        return isexport;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("couponAddId", getCouponAddId())
            .append("customerId", getCustomerId())
            .append("customerPhone", getCustomerPhone())
            .append("customerName", getCustomerName())
            .append("couponAmount", getCouponAmount())
            .append("validTime", getValidTime())
            .append("invalidTime", getInvalidTime())
            .append("isexport", getIsexport())
            .append("createTime", getCreateTime())
            .toString();
    }
}
